<?php
namespace QnuiRings\Model;
use Think\Model\ViewModel;
class PageViewModel extends ViewModel {
   public $viewFields = array(
	 'PageInshop'=>array('id','sid','preview','qrcode_url','url','short_url','channel_id','channel_name','creat_date','status','pv','uv','deal','js','_type'=>'LEFT OUTER'),
	 'PageModelsInshop'=>array('id'=>'shop_model_id','creat_date','dead_line','status'=>'shop_model_status','_on'=>'PageInshop.model_id=PageModelsInshop.id','_type'=>'LEFT OUTER'),
     'PageModels'=>array( 'id'=>"model_id",'name','price_v1','price_v2','price_v3','price_v4','price_v5','info','preview','preview_gif','qrcode','item_code_v1','item_code_v2','item_code_v3','item_code_v4','item_code_v5','creat_date','catgory','tag_color','tag_time_nodes','tag_action','status','js_tpl','_on'=>"PageModels.id=PageModelsInshop.page_model_id"),
	 );
}